package com.xzh.service.impl;

import com.xzh.dao.StudentDao;
import com.xzh.model.search.StudentSerach;
import com.xzh.service.StudentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cache.annotation.Cacheable;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class StudentServiceImpl implements StudentService {
    private StudentDao StudentDao;

    @Autowired
    public void setStudentDao(StudentDao StudentDao) {
        this.StudentDao = StudentDao;
    }

    @Override
    public List<StudentSerach> selectList() {
        return StudentDao.selectList();
    }
}
